home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000289_news@newsmaster….columbia.edu _Wed Jun 11 15:49:22 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA22056
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 11 Jun 1997 15:49:22 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id PAA02979
  7.     for kermit.misc@watsun; Wed, 11 Jun 1997 15:49:20 -0400 (EDT)
  8. Path: news.columbia.edu!panix!news.mathworks.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!news-feed1.tiac.net!posterchild!ciaraldi
  9. From: ciaraldi@tiac.net (Michael Ciaraldi)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Problem Building HP-UX 9 C-Kermit
  12. Date: 11 Jun 1997 19:34:32 GMT
  13. Organization: The Internet Access Company, Inc.
  14. Lines: 28
  15. Message-ID: <5nmuk8$r4r@news-central.tiac.net>
  16. NNTP-Posting-Host: sunspot.tiac.net
  17. Keywords: HP-UX select
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7145
  19.  
  20. I downloaded the source from Columbia and compiled it with GCC
  21. with the command "make hpux90gcc".
  22. This compiled and linked without error.
  23.  
  24. However, when I run it does not work correctly.
  25. I can start kermit, set the line and speed, then connect.
  26. Anything I type on my keyboard does not go out the serial port,
  27. but things that come into the  serial port from the other system
  28. appear on my screen OK. As I mentioned, the old version of
  29. Kermit works fine in this situation.
  30.  
  31. Any ideas?
  32.  
  33. I do have one clue: I wrote a program a few weeks ago
  34. that used select() and it does not seem to work properly either.
  35. In this case the program is waiting on a socket using a select().
  36. If one character gets sent to the socket the select() returns.
  37. I then read the character and do the select() again, and it always returns
  38. as if there were data in the socket. But when it 
  39. reads the socket there are no characters available.
  40. BTW, I am properly initializing the flags each time I call the select().
  41. I suspect that there is a bug in select() in this version of HP-UX.
  42.  
  43. thanks,
  44. Mike Ciaraldi
  45. ciaraldi@ciaraldi.com (preferred) or
  46. ciaraldi@tiac.net
  47.